package appapi.Vo.record;

import appapi.common.BaseEntity;
import appapi.common.PageReq;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @author djq
 * @date 2023/6/12 11:57
 * @description:
 */
@Data
@ApiModel
public class GetAlarmPageVo extends PageReq {
    /**
     * 设备类型
     */
    @ApiModelProperty(value = "设备类型")
    private String equipTypeName;

    /**
     * 设备别名
     */
    @ApiModelProperty(value = "设备别名")
    private String equipName;

    /**
     * 规格型号
     */
    @ApiModelProperty(value = "规格型号")
    private String equipModel;

    /**
     * 所属机构
     */
    @ApiModelProperty(value = "所属机构")
    private String orgaName;

    /**
     * 告警类型
     */
    @ApiModelProperty(value = "告警类型")
    private String alarmType;

    /**
     * 告警内容
     */
    @ApiModelProperty(value = "告警内容")
    private String alarmContent;

    /**
     * 告警时间
     */
    @ApiModelProperty(value = "告警时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime alarmDate;
}
